<template>
  <div>
    <div class="common-form">其它</div>
    <el-form-item label="限购数量" prop="limit_num" :rules="[{ required: true, message: '请填写限购数量' }]">
      <el-input type="number" v-model="form.limit_num" class="max-w460"></el-input>
    </el-form-item>
  </div>
</template>

<script>
import { reactive, toRefs, defineComponent } from "vue";
export default defineComponent({
  props: ['data'],
  setup(props) {
    const state = reactive({
      form: props.data,
    })
    return {
      ...toRefs(state),
    };
  }
})
</script>

<style></style>
